package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import com.mbc.rmt.data.CashRemittanceToAgentDataList;
import com.mbc.rmt.entities.CashRemittanceToAgent;
import com.mbc.rmt.entities.CashRemittanceToAgentRpt;

public interface CashRemittanceToAgentDAO {
	void create(CashRemittanceToAgent entity)throws SQLException;
	void update(CashRemittanceToAgent entity)throws SQLException;
	void updateToAgent(CashRemittanceToAgent entity)throws SQLException;
	void delete(long key)throws SQLException;
	CashRemittanceToAgent find(long key)throws SQLException;
	CashRemittanceToAgent find(String receiptNo)throws SQLException;
	CashRemittanceToAgentDataList find(CashRemittanceToAgent cri)throws SQLException;
	CashRemittanceToAgent getCRToAgent(CashRemittanceToAgent entity)throws SQLException;
	ResultSet prepareCashRemittanceToAgentReport(CashRemittanceToAgentRpt info)throws SQLException;
	int getTotalReceipt(long branchid, long hobranchid)throws SQLException;
}
